package cn.xsly.ymcc.fegin;


import cn.xsly.ymcc.dto.CourseOrderVo;
import cn.xsly.ymcc.result.JSONResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "service-course",fallbackFactory = CourseFeginFactory.class)
public interface CourseFeginClient {
    @GetMapping(value = "/course/courseState/{id}")
    public JSONResult courseStateById(@PathVariable Long id);
    @GetMapping(value = "/course/info/{ids}")
    public JSONResult orderList(@PathVariable String ids);


}
